package com.javafactroy.kunlong.bip.icp.message.test.netty.codec;

import com.javafactroy.kunlong.bip.icp.message.test.base.TMsgHeader;
import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

public class TMsgServerLengthFieldDecoder extends LengthFieldBasedFrameDecoder {

    public TMsgServerLengthFieldDecoder() {
        super(TMsgHeader.MAX_FRAME_LENGTH, TMsgHeader.MSG_HEADER_LEN_OFFSET,
                TMsgHeader.LENGTH_FIELD_LENGTH, TMsgHeader.LENGTH_ADJUST_NETTY,
                0, true);
    }


}
